package com.example.examoj.dao;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Controller;

import java.util.List;

@Controller
@Mapper
public interface ProblemMapper {
    public int insertOneProblem(Problem problem);
    public int deleteProblemById(int id);
    public List<Problem> selectAllProblem();
    public Problem selectOneProblemById(int id);
}
